package com.example.design_pattern.builder;

/**
 * 需要建造的产品
 */
public class Dialog {

    private String title;

    private String message;

    private int positveButton;

    private int navagationButton;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getPositveButton() {
        return positveButton;
    }

    public void setPositveButton(int positveButton) {
        this.positveButton = positveButton;
    }

    public int getNavagationButton() {
        return navagationButton;
    }

    public void setNavagationButton(int navagationButton) {
        this.navagationButton = navagationButton;
    }

    @Override
    public String toString() {
        return "Dialog{" +
                "title='" + title + '\'' +
                ", message='" + message + '\'' +
                ", positveButton=" + positveButton +
                ", navagationButton=" + navagationButton +
                '}';
    }
}
